home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Headers / System Extras Headers / GX Headers / graphics state library.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-08-02  |  1.3 KB  |  58 lines  |  [TEXT/MMCC]

  1. /*
  2.     File:        graphics state library.h
  3.  
  4.     Copyright:    © 1984-1994 by Apple Computer, Inc., all rights reserved.
  5.  
  6.     WARNING
  7.     This file was auto generated by the interfacer tool. Modifications
  8.     must be made to the master file.
  9.  
  10. */
  11.  
  12. #ifndef graphicsStateLibraryIncludes
  13. #define graphicsStateLibraryIncludes
  14.  
  15.     #ifndef graphicsTypesIncludes
  16. #include "graphics types.h"
  17. /*    #include "math types.h"                                        */
  18. /*        #include <Types.h>                                        */
  19. /*            #include <ConditionalMacros.h>                        */
  20. /*            #include <MixedMode.h>                                */
  21. /*                #include <Traps.h>                                */
  22.     #endif
  23.  
  24.     #ifdef __cplusplus
  25. extern "C" {
  26.     #endif
  27.  
  28. #if defined(powerc) || defined (__powerc)
  29. #pragma options align=mac68k
  30. #endif
  31. struct graphicsStateRecord {
  32.     gxShape                        defaultShapes[gxPictureType - 1];
  33. };
  34. #if defined(powerc) || defined(__powerc)
  35. #pragma options align=reset
  36. #endif
  37.  
  38. typedef struct graphicsStateRecord *graphicsState;
  39.  
  40.     #ifndef __cplusplus
  41. typedef struct graphicsStateRecord graphicsStateRecord;
  42.  
  43.     #endif
  44.  
  45. extern graphicsState lastGraphicsState;
  46.  
  47. extern graphicsState NewGraphicsState(void);
  48. extern void DisposeGraphicsState(graphicsState);
  49. extern void GetGraphicsState(graphicsState);
  50. extern void SetGraphicsState(graphicsState);
  51. extern graphicsState SwapGraphicsState(graphicsState);
  52.     #ifdef __cplusplus
  53. }
  54.     #endif
  55.  
  56. #endif
  57.  
  58.